//
//  Game.h
//  OC1_类和对象课后作业
//
//  Created by dllo on 15/10/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Game : NSObject
{
@public
    NSString *_name;
    CGFloat _size;
    

}
-(void)info;

-(void)play;



-(NSString *)name;

-(void)setName:(NSString *)name;

-(CGFloat)size;

-(void)setSize:(CGFloat)size;

-(id)initWithName:(NSString *)name size:(CGFloat)size;


+ (id)gameWithName:(NSString *)name size:(CGFloat)size;





@end
